﻿using System;


namespace Chess_Model
{
    public class Position
    {
        public int x;
        public int y;

        public Position(int newX, int newY)
        {
            x = newX;
            y = newY;
        }

        public bool Equals(Position pos)
        {
            return (this.x == pos.x) && (this.y == pos.y); 
        }


        
        public override string ToString()
        {
            return (String.Format("({0},{1})", x, y));
        }
    }
}
